package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 选择题对象 admin_question
 * 
 * @author ruoyi
 * @date 2020-06-17
 */
public class AdminQuestion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 选择题id */
    @Excel(name = "选择题id")
    private Long questionId;

    /** 选择题编号 */
    private String questionNo;

    /** 选择题名称 */
    @Excel(name = "选择题名称")
    private String questionName;

    /** 题目图片 */
    private String picture;

    /** 难度级别1入门2初级3中级4高级 */
    @Excel(name = "难度级别1入门2初级3中级4高级")
    private String questionLevel;

    /** 答案a */
    private String answera;

    /** 答案b */
    private String answerb;

    /** 答案c */
    private String answerc;

    /** 答案d */
    private String answerd;

    /** 正确答案 */
    private String rightAnswer;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 所属单位 */
    private Long companyId;

    /** 所属单位 */
    @Excel(name = "所属单位")
    private String companyName;

    /** 帐号状态（0正常 1停用） */
    private String delFlag;

    /** 用户Id */
    private Long userId;


  /** 课时编号 */
  private Long preidId;

  /** 课时ID */
  private String addPeriedFlag;

  public String getAddPeriedFlag () {
    return addPeriedFlag;
  }

  public void setAddPeriedFlag (String addPeriedFlag) {
    this.addPeriedFlag = addPeriedFlag;
  }

  public Long getPreidId () {
    return preidId;
  }

  public void setPreidId (Long preidId) {
    this.preidId = preidId;
  }

    public void setQuestionId(Long questionId) 
    {
        this.questionId = questionId;
    }

    public Long getQuestionId() 
    {
        return questionId;
    }
    public void setQuestionNo(String questionNo) 
    {
        this.questionNo = questionNo;
    }

    public String getQuestionNo() 
    {
        return questionNo;
    }
    public void setQuestionName(String questionName) 
    {
        this.questionName = questionName;
    }

    public String getQuestionName() 
    {
        return questionName;
    }
    public void setPicture(String picture) 
    {
        this.picture = picture;
    }

    public String getPicture() 
    {
        return picture;
    }
    public void setQuestionLevel(String questionLevel) 
    {
        this.questionLevel = questionLevel;
    }

    public String getQuestionLevel() 
    {
        return questionLevel;
    }
    public void setAnswera(String answera) 
    {
        this.answera = answera;
    }

    public String getAnswera() 
    {
        return answera;
    }
    public void setAnswerb(String answerb) 
    {
        this.answerb = answerb;
    }

    public String getAnswerb() 
    {
        return answerb;
    }
    public void setAnswerc(String answerc) 
    {
        this.answerc = answerc;
    }

    public String getAnswerc() 
    {
        return answerc;
    }
    public void setAnswerd(String answerd) 
    {
        this.answerd = answerd;
    }

    public String getAnswerd() 
    {
        return answerd;
    }
    public void setRightAnswer(String rightAnswer) 
    {
        this.rightAnswer = rightAnswer;
    }

    public String getRightAnswer() 
    {
        return rightAnswer;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("questionId", getQuestionId())
            .append("questionNo", getQuestionNo())
            .append("questionName", getQuestionName())
            .append("picture", getPicture())
            .append("questionLevel", getQuestionLevel())
            .append("answera", getAnswera())
            .append("answerb", getAnswerb())
            .append("answerc", getAnswerc())
            .append("answerd", getAnswerd())
            .append("rightAnswer", getRightAnswer())
            .append("status", getStatus())
            .append("companyId", getCompanyId())
            .append("companyName", getCompanyName())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("userId", getUserId())
            .toString();
    }
}
